
from pygame.locals import *

pygame.init()

WINDOWWIDTH = 1400
WINDOWHEIGHT = 1000
windowsurface = pygame.display.set_mode((WINDOWWIDTH,WINDOWHEIGHT), 0, 32)
pygame.display.set_caption('ANIMATION')

A = 1
B = 3
C = 7
D = 9

E = 4

BLACK = (0, 0, 0)
RED = (255, 0, 0)
GREEN = (0, 255, 0)
BLUE = (0, 0, 255)

b1 = {'rect':pygame.Rect(300, 80, 50, 100),'color':RED,'dir':D}
b2 = {'rect':pygame.Rect(200, 200, 20, 20),'color':GREEN, 'dir':C}
b3 = {'rect':pygame.Rect(100, 150, 60, 60),'color':BLUE, 'dir':A}

pickupsound = pygame. mixer.sound('pickup.wav')
pygame.mixer.music.load ('backgeround.mid')
pygame.mixer.music.play(-1, 0.0)
musicplaying = true



